package org.neuedu.chapter07_0624.demo07;

import java.util.Scanner;

public class ScannerDemo01 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入姓名:");
        // String next()
        // String nextLine()
        String name = scanner.nextLine();
        int age = scanner.nextInt();
        System.out.println("接收到的是： " + name);
    }
}
